﻿using System;
using System.IO;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Navigation;

namespace EAppointmentsWPF
{
	public partial class DateView
	{
		public DateView()
		{
			this.InitializeComponent();

			// Insert code required on object creation below this point.
		}
        public event EventHandler monthCalenderDateChanged;

        private void DateViewControl_Loaded(object sender, RoutedEventArgs e)
        {
            DateCalender.Visibility = Visibility.Visible;
            MonthCalender.Visibility = Visibility.Hidden;
        }

        private void txtMonthCalenderDate_TextChanged(object sender, TextChangedEventArgs e)
        {
            if (monthCalenderDateChanged != null)
            {
                monthCalenderDateChanged(sender, new EventArgs());
            }
        }

       
	}
}